rockets={
	"year":"1967",
	"HR":"Morey",
	"Boss":"Fertitta",
	"Player":["Harden","Paul","Capela"]
}
print("Houston Rockets was set in "+rockets["year"]+".Now its manager was "+rockets["HR"])
flanguage={
	"jen":["python","c"],
	"sarah":["java","ruby"],
	"edward":["PHP"],
	"phil":["php","html"]
}
for nm,fl in flanguage.items():
	print(nm.title()+"'s favorite languages are:")
	for number in fl:
		print('\t'+number.title())


#6-7
Harden={"name":"james harden","age":28,"nation":"USA"}
Paul={"name":"chris paul","age":33,"nation":"USA"}
Gordon={"name":"eric gordon","age":29,"nation":"USA"}
Qi={"name":"zhou qi","age":22,"nation":"China"}
HR=[Harden,Paul,Gordon,Qi]

for people in HR:
	print("NAME:"+people["name"].title()+'\t'+"AGE:"+str(people["age"]))

#6-8
#6-9
fp={
	"Franklee":["HZ","SH","ZZ"],
	"Harden":["Houston","SH"],
	"GU":["BLBL","IG"]
}
print("Franklee's favorite places:")
for pl in fp["Franklee"]:
	print(pl)
print("Harden's favorite places:")
for pl in fp["Harden"]:
	print(pl)
print("GU's favorite places:")
for pl in fp["GU"]:
	print(pl)